<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Welcome to NeoBase</title>
    <!--[if mso]>
    <noscript>
        <xml>
            <o:OfficeDocumentSettings>
                <o:PixelsPerInch>96</o:PixelsPerInch>
            </o:OfficeDocumentSettings>
        </xml>
    </noscript>
    <![endif]-->
    <style type="text/css">
        /* Import fonts */
        @import url('https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;500;600;700;800&display=swap');

        /* Mobile-first responsive styles */
        @media only screen and (max-width: 600px) {
            .email-container {
                width: 100% !important;
                max-width: 100% !important;
                margin: 0 !important;
            }
            .email-content {
                width: 100% !important;
                max-width: 100% !important;
                padding: 15px !important;
                border-radius: 0 !important;
            }
            .header-content {
                padding: 30px 20px !important;
            }
            .main-content {
                padding: 30px 20px !important;
            }
            .footer-content {
                padding: 20px !important;
            }
            .feature-section {
                padding: 20px !important;
            }
            .cta-section {
                padding: 20px !important;
            }
            h1 {
                font-size: 28px !important;
            }
            h2 {
                font-size: 24px !important;
            }
            h3 {
                font-size: 18px !important;
            }
            .cta-button {
                padding: 14px 24px !important;
                font-size: 14px !important;
                display: block !important;
                width: auto !important;
            }
            /* Force container responsiveness */
            table[width="600"] {
                width: 100% !important;
                max-width: 100% !important;
            }
        }

        /* Force text colors for email clients - Override ALL theme inheritance */
        .black-text, .black-text *, h1, h1 *, h2, h2 *, h3, h3 *, h4, h4 *, h5, h5 *, h6, h6 * {
            color: #000000 !important;
        }
        .gray-text, .gray-text *, p, p *, span, span *, div, div * {
            color: #374151 !important;
        }
        .muted-text, .muted-text * {
            color: #6b7280 !important;
        }
        .green-text, .green-text * {
            color: #10b981 !important;
        }
        .white-text, .white-text *, a, a * {
            color: #ffffff !important;
        }

        /* Font families */
        .primary-font {
            font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
        }
        .secondary-font {
            font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
        }

        /* Main styles */
        body {
            margin: 0 !important;
            padding: 0 !important;
            background-color: #fef3c7 !important;
            font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
            line-height: 1.6;
            -webkit-text-size-adjust: 100%;
            -ms-text-size-adjust: 100%;
        }
        
        /* CTA button styling */
        .cta-button-text {
            color: #ffffff !important;
            text-decoration: none !important;
        }
    </style>
</head>
<body style="margin: 0; padding: 0; background-color: #fef3c7; font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;">
    <!-- Outlook fallback wrapper -->
    <!--[if mso | IE]>
    <table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color: #fef3c7;">
        <tr>
            <td>
    <![endif]-->
    
    <!-- Main container -->
    <table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color: #fef3c7;">
        <tr>
            <td align="center" style="padding: 20px 10px;">
                <!-- Email content wrapper -->
                <table role="presentation" border="0" cellpadding="0" cellspacing="0" class="email-container" style="width: 600px; max-width: 600px; background-color: #ffffff; border: 3px solid #000000; border-radius: 12px; box-shadow: 6px 6px 0px #000000; overflow: hidden; margin: 0 auto;">
                    
                    <!-- Header Section -->
                    <tr>
                        <td class="header-content" style="padding: 40px 30px 20px; text-align: center; background-color: #ffffff;">
                            <table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td align="center">
                                        <!-- Logo -->
                                        <h1 class="black-text primary-font" style="font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 32px; font-weight: bold; color: #000000 !important; margin: 0 0 16px 0; padding: 0; text-align: center;">NeoBase</h1>
                                        
                                        <h2 class="black-text primary-font" style="font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 24px; font-weight: bold; color: #000000 !important; margin: 0 0 16px 0; text-align: center;">Welcome to NeoBase! 🎉</h2>
                                        <p class="muted-text secondary-font" style="font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #6b7280 !important; font-size: 16px; margin: 0; text-align: center;">Your AI Database Copilot is ready</p>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    
                    <!-- Main Content -->
                    <tr>
                        <td class="main-content" style="padding: 0 30px 30px; background-color: #ffffff;">
                            <table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td>
                                        <p class="gray-text secondary-font" style="font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 18px; color: #374151 !important; margin: 0 0 20px 0; font-weight: 600; line-height: 1.6;">Hello {{username}}! 👋</p>
                                        
                                        <p class="gray-text secondary-font" style="font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 16px; color: #374151 !important; margin: 0 0 20px 0; line-height: 1.6;">
                                            Welcome to NeoBase, your intelligent AI Database Copilot! We're thrilled to have you join our community of developers who are revolutionizing how they interact with databases.
                                        </p>
                                        
                                        <p class="gray-text secondary-font" style="font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 16px; color: #374151 !important; margin: 0 0 30px 0; line-height: 1.6;">
                                            NeoBase transforms complex database operations into simple, natural language conversations. Whether you're querying, analyzing, or managing your data, our AI copilot is here to assist you every step of the way.
                                        </p>
                                    </td>
                                </tr>
                            </table>
                            
                            <!-- Features Section -->
                            <table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color: #f8fafc; border: 2px solid #e2e8f0; border-radius: 8px; margin: 30px 0;">
                                <tr>
                                    <td class="feature-section" style="padding: 24px;">
                                        <h3 class="black-text secondary-font" style="font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 18px; font-weight: bold; color: #000000 !important; margin: 0 0 16px 0;">🚀 Get started by exploring:</h3>
                                        <ul class="gray-text secondary-font" style="font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #374151 !important; margin: 0; padding-left: 20px;">
                                            <li style="margin-bottom: 12px; font-size: 16px; color: #374151 !important;"><strong>Natural Language Queries:</strong> Ask questions in plain English and get SQL results</li>
                                            <li style="margin-bottom: 12px; font-size: 16px; color: #374151 !important;"><strong>Multi-Database Support:</strong> Connect to PostgreSQL, MySQL, MongoDB, and more</li>
                                            <li style="margin-bottom: 12px; font-size: 16px; color: #374151 !important;"><strong>AI-Powered Analysis:</strong> Get insights and recommendations from your data</li>
                                            <li style="margin-bottom: 12px; font-size: 16px; color: #374151 !important;"><strong>Smart Schema Understanding:</strong> Our AI learns your database structure</li>
                                            <li style="margin-bottom: 0; font-size: 16px; color: #374151 !important;"><strong>Query Optimization:</strong> Improve performance with AI suggestions</li>
                                        </ul>
                                    </td>
                                </tr>
                            </table>
                            
                            <!-- CTA Section -->
                            <table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td class="cta-section" style="text-align: center; padding: 40px 0;">
                                        <a href="https://app.neobase.cloud/" class="cta-button-text white-text" style="display: inline-block; background-color: #000000; color: #ffffff !important; text-decoration: none; padding: 16px 32px; border-radius: 8px; font-size: 16px; font-weight: 600; border: 3px solid #000000; box-shadow: 4px 4px 0px #10b981; font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;">
                                            Start Using NeoBase →
                                        </a>
                                    </td>
                                </tr>
                            </table>
                            
                            <table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <td>
                                        <p class="gray-text secondary-font" style="font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 16px; color: #374151 !important; margin: 0 0 20px 0; line-height: 1.6;">
                                            Need help getting started? Check out our documentation or reach out to our support team. We're here to help you make the most of your AI Database Copilot experience.
                                        </p>
                                        
                                        <p class="gray-text secondary-font" style="font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 16px; color: #374151 !important; margin: 0; line-height: 1.6;">
                                            Happy querying! 🎯
                                        </p>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    
                    <!-- Footer -->
                    <tr>
                        <td class="footer-content" style="padding: 30px; text-align: center; background-color: #f9fafb; border-top: 1px solid #e5e7eb;">
                            <p class="gray-text secondary-font" style="font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 16px; color: #374151 !important; margin: 0 0 8px 0;">Best regards,</p>
                            <p class="black-text secondary-font" style="font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 16px; font-weight: 600; color: #000000 !important; margin: 0 0 20px 0;">The NeoBase Team</p>
                            <p class="muted-text secondary-font" style="font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 12px; color: #9ca3af !important; margin: 0; font-style: italic;">
                                This is an automated welcome email. You can reply to this message if you need assistance.
                            </p>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    
    <!--[if mso | IE]>
            </td>
        </tr>
    </table>
    <![endif]-->
</body>
</html>